package com.example.book.service.impl.admin;

import com.example.book.dto.AdminDTO;
import com.example.book.dto.UserPageDTO;
import com.example.book.result.PageResult;

import javax.security.auth.login.AccountNotFoundException;
import java.util.List;

public interface AdminService {
    //管理员登录
    void login(AdminDTO adminDTO) throws AccountNotFoundException;
    //用户信息展示
    PageResult UserPage(UserPageDTO userPageDTO);

    void deleteUserByName(List<String> name);
}